﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BandSite.EF.Models
{
    public class Person
    {
        [Key]
        public int Id { get; set; }

        [Required]
        public Guid Reference { get; set; }

        public string Name { get; set; }

        public DateTime DateOfBirth { get; set; }

        public Person()
        {
            Reference = new Guid();
        }
    }
}
